//
//  GSDKResponseModel.h
//  GameSDK
//
//  Created by Johnny on 2017/8/2.
//  Copyright © 2017年 Johnny. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GSDKGoods.h"

@interface GSDKResTestModel : NSObject
@property (nonatomic, copy) NSString * code;
@property (nonatomic, copy) NSString * message;
@end

//激活
@interface GSDKResActiveDeviceModel : GSDKResTestModel
@property (nonatomic, copy) NSString * token;
@end

@interface GSDKResGameVersionModel : GSDKResTestModel
@property (nonatomic, copy) NSString * max_version;
@property (nonatomic, copy) NSString * max_version_name;
@property (nonatomic, copy) NSString * is_force_update;
@property (nonatomic, copy) NSString * is_purl;
@property (nonatomic, copy) NSString * is_tool_bar;
@property (nonatomic, copy) NSString * download_url;
@end

@interface GSDKResGetnameModel : GSDKResTestModel
@property (nonatomic, copy) NSString * user_name;
@property (nonatomic, copy) NSString * password;
@end

@interface GSDKResLoginModel : GSDKResTestModel
@property (nonatomic, copy) NSString * user_name;
@property (nonatomic, copy) NSString * login_token;
@property (nonatomic, copy) NSString * uid;
@end

@interface GSDKResToolbarModel : NSObject
@property (nonatomic, copy) NSString * name;
@property (nonatomic, copy) NSString * action;
@property (nonatomic, copy) NSString * src;
@property (nonatomic, copy) NSString * url;
@end

@interface GSDKResTypeModel : NSObject
@property (nonatomic, copy) NSString * name;
@property (nonatomic, copy) NSString * icon;
@property (nonatomic, copy) NSString * type;
@end

@interface GSDKResMenuModel : GSDKResTestModel
@property (nonatomic, strong) NSArray<GSDKResToolbarModel*>* tool_bar;
@property (nonatomic, strong) NSArray<GSDKResTypeModel*>* type;
@end

@interface GSDKResGoodsConfigModel : GSDKResTestModel
@property (nonatomic, strong) NSArray* goods_list;
@end

@interface GSDKResIAPModel : GSDKResTestModel
@property (nonatomic, copy) NSString* channel_order_id;
@property (nonatomic, copy) NSString* game_order_id;
@property (nonatomic, copy) NSString* order_id;
@end

@interface GSDKWeChatModel : NSObject
@property (nonatomic, copy) NSString* access_token;
@property (nonatomic, copy) NSString* expires_in;
@property (nonatomic, copy) NSString* openid;
@property (nonatomic, copy) NSString* refresh_token;
@property (nonatomic, copy) NSString* scope;
@property (nonatomic, copy) NSString* unionid;
@end
